package za.ac.cput.garethc.designpatterns.behavioural.command;

/**
 *
 * @author Gareth
 */
public class MealInvoker
{
    Command command;

    public MealInvoker(Command command)
    {
        this.command = command;

    }

    public void invoke()
    {
        command.execute();
    }

    public Command getCommand() {
        return command;
    }
}
